Set the permissions correctly on the XML-RPC UDP socket, so that non-root users
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 30 Mar 2006 23:13:33 +0000 (00:13 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 30 Mar 2006 23:13:33 +0000 (00:13 +0100)
commit8d3271b7cc8050da140660c97cbdeed9d8c4768e
tree700bed2e50d93abc85dfe8960c96fc9d80540dc5
parent7a6ee342c3327ed47c87fd52252e8930f3e5b097
Set the permissions correctly on the XML-RPC UDP socket, so that non-root users
cannot use the socket.

This closes a security hole, and fixes the intermittent failure
of xm-test/06_list_nonroot.test.

c.f. xen-unstable changeset 9205:faa1eb1621b9 (same bug, different socket).

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/util/xmlrpclib2.py
tools/python/xen/xend/XendClient.py